﻿<Window x:Class="LetsThread.MainWindowOld"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">

    <Window.Resources>

        <XmlDataProvider x:Key="BookmarkData" XPath="/Favorites">
            <x:XData>
                <Favorites xmlns="">
                    <Bookmark>
                        <Title>Google</Title>
                        <URL>http://www.google.com</URL>
                    </Bookmark>
                    <Bookmark>
                        <Title>Amazon</Title>
                        <URL>http://www.amazon.com</URL>
                    </Bookmark>
                    <Bookmark>
                        <Title>Slashdot</Title>
                        <URL>http://www.slashdot.com</URL>
                    </Bookmark>
                    <Bookmark>
                        <Title>Ars Technica</Title>
                        <URL>http://www.arstechnica.com</URL>
                    </Bookmark>
                </Favorites>
            </x:XData>
        </XmlDataProvider>


    </Window.Resources>
    
    <Grid>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <Grid Grid.Row="0" Margin="5" >
            
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="100*" />
                <ColumnDefinition Width="auto" />
                <ColumnDefinition Width="50*" />
                <ColumnDefinition Width="20*" />
            </Grid.ColumnDefinitions>

            <TextBox Grid.Column="0" />
            <Button Margin="5,0,0,0"  Grid.Column="1"  Click="BrowseForFolder">
                <TextBlock Text="Browse" />
            </Button>
            <ComboBox Margin="5,0,0,0" Grid.Column="2" >
                <ComboBoxItem  Selector.IsSelected="True" >TPL</ComboBoxItem>
            </ComboBox>
            <Button Margin="5,0,0,0"  Grid.Column="3"  Click="Fetch">
                <TextBlock Text="go" />
            </Button>
        </Grid>
        
        <ListBox Grid.Row="1" />
        
    </Grid>
</Window>
